#ifndef NSSHARE_SYS_IO_PORTAL_H_
#define NSSHARE_SYS_IO_PORTAL_H_

#include <stdint.h>

namespace nsshare
{
namespace sys
{
class AsyncEventArgs;

class IOPortal
{
private:
    virtual void * GetPlatformHandle() = 0;
    virtual void OnCompleted(AsyncEventArgs & args,
                             uint32_t error,
                             uint32_t transfered) = 0;

    friend class Proactor;
};
}
}

#endif